package com.xxxx.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Lionel
 * @Date 2021/3/8 22:30
 * Created by IntelliJ IDEA 2020.1.
 * Project: house
 * Description：
 */
@Mapper
public interface TypeMapper {
    /**
     * 查询类型名
     * @param id
     * @return
     */
    String getTypeNameByID (@Param("id") int id);

    /**
     * 查询类型编号
     * @param name
     * @return
     */
    Integer getTypeIDByName (@Param("name") String name);
}
